<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<include file="Public/head" />
<link href="__STATIC__/css/error.css" type="text/css" rel="stylesheet" />
</head>

<body>
<include file="Public/top" />

<div class="page_minheight">
<!--中间内容-->
<div class="error_page">
  <?php if(isset($message)) {?>
  <!-- 处理成功 -->
  <div class="error_img"><img src="__STATIC__/images/tips_message.png" ></div>
  <div class="error_word">
    <p><?php echo($message);?></p>
    <p>页面将在 <b id="wait"><?php echo($waitSecond); ?></b> 秒后，<a id="href" href="<?php echo($jumpUrl); ?>">自动跳转！</a></p>
  </div>
	
  <?php }else{?>        
  <!-- 处理失败 -->
  <div class="error_img"><img src="__STATIC__/images/tips_message.png" ></div>
  <div class="error_word">
    <p><?php echo($error);?></p>
    <p>页面将在 <b id="wait"><?php echo($waitSecond); ?></b> 秒后，<a id="href" href="<?php echo($jumpUrl); ?>">自动跳转！</a></p>
  </div>
  <?php }?>            
</div>
<!--中间内容 end-->
</div><!--page_minheight-->

<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})(); 
</script>

<include file="Public/footer" />
<script src="__STATIC__/js/global_after.js" type="text/javascript"></script>
</body>
</html>